package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyContractDetail;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyContractDetailParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyContractDetailResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuy
 * @since 2022-05-14
 */
public interface BtyContractDetailService extends IService<BtyContractDetail> {

    /**
     * 新增
     *
     * @author liuy
     * @Date 2022-05-14
     */
    void add(BtyContractDetailParam param);

    /**
     * 删除
     *
     * @author liuy
     * @Date 2022-05-14
     */
    void delete(BtyContractDetailParam param);

    /**
     * 更新
     *
     * @author liuy
     * @Date 2022-05-14
     */
    void update(BtyContractDetailParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author liuy
     * @Date 2022-05-14
     */
    BtyContractDetailResult findBySpec(BtyContractDetailParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author liuy
     * @Date 2022-05-14
     */
    List<BtyContractDetailResult> findListBySpec(BtyContractDetailParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author liuy
     * @Date 2022-05-14
     */
     LayuiPageInfo findPageBySpec(BtyContractDetailParam param);

}
